<include file="common/ueditor"/>
<div class="col-xs-12">
	<div class="row">
		<form class="form-horizontal" role="form" id="form" action="{:U('Notice/add')}">
			<div class="form-group">
				<include file="template:input" name="title" label="标题" value=""  attr='data-rule="required;length(~80)" maxlength="80"'/>
				<!--<include file="template:label" label="接收人"/>
				<span id="fs">1234</span>
				<input id="addIds" type="button" value="添加用户">-->
				<!--<include file="template:selectEdit" results="data" name="type" list="articleType" label="类型" attr='data-rule="required;"'/>-->
				<include file="template:ueditor" results="data" name="content" label="详情页" attr='data-rule="required;length(~20000)" maxlength="20000"'/>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<include file="template:button" label="保存"/>
			</div>
		</form>
	</div>
</div>
<div id="contentDiv" style="display: none;">
	<table>
		<tr>
			<th></th>
			<th>昵称</th>
			<th>账号</th>
		</tr>
		<tr>
			<td><input type="checkbox" name="me" value="id"></td>
			<td></td>
			<td></td>
		</tr>
	</table>

</div>
<script>
	$(function () {
		$("#addIds").click(function () {
			layer.open({
				type: 2,
				skin: 'layui-layer-demo', //样式类名
				closeBtn: 0, //不显示关闭按钮
				title: false,
				anim: 2,
				area: ['300px', '450px'],
				shadeClose: true, //开启遮罩关闭
				content:'{:U(\'Notice/memberlist\')}'
			});
		});
	})
</script>